package com.springboot3.learn.controller;

import io.micrometer.observation.annotation.Observed;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("demo")
@Observed
public class DemoController {

    @GetMapping("sayHello1")
    public String sayHello() {
        return "hello";
    }
}
